
export default {
  pages: [
    'pages/home/index',
    'pages/dataCenter/DataCenter',
    'pages/expert/index',
    'pages/auth/index',
    'pages/auth/LoginByPhone',
    'pages/me/index',
  ],
  window: {
    backgroundColor: '#f4f4f4',
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black'
  },
  tabBar: {
    color: '#595959',
    selectedColor: '#47C690',
    backgroundColor: '#fff',
    borderStyle: 'black',
    // custom: true,
    list: [{
      pagePath: 'pages/home/index',
      iconPath: 'assets/images/tab/tabbar_home_nor.png',
      selectedIconPath: 'assets/images/tab/tabbar_home_pre.png',
      text: '首页'
    }, {
      pagePath: 'pages/dataCenter/DataCenter',
      iconPath: 'assets/images/tab/tabbar_data_center_nor.png',
      selectedIconPath: 'assets/images/tab/tabbar_data_center_pre.png',
      text: '头痛日志'
    }, {
      pagePath: 'pages/expert/index',
      iconPath: 'assets/images/tab/tabbar_expert_nor.png',
      selectedIconPath: 'assets/images/tab/tabbar_expert_pre.png',
      text: '疼爱服务'
    }, {
      pagePath: 'pages/me/index',
      iconPath: 'assets/images/tab/tabbar_profile_nor.png',
      selectedIconPath: 'assets/images/tab/tabbar_profile_pre.png',
      text: '我的'
    }]
  },
  subpackages: [{
    root: 'subpackages/doctor/',
    name: 'doctor',
    pages: [
      'pages/DoctorList',
      'pages/DoctorDetail',
      'pages/SearchDoctor',
      'pages/DoctorProfile',
      'pages/RecommendDoctorList',
      'pages/GroupProfile',
      'pages/MyDoctorList',
      'pages/CustomDoctorList',
    ]
  }, {
    root: 'subpackages/patient/',
    name: 'patient',
    pages: [
      'pages/CreatePatient',
      'pages/PatientDetail',
      'pages/PatientRegistration',
      'pages/PatientRegistrationSuccess',
      'pages/CreateConsultation',
      'pages/Payment',
      'pages/PaymentResult',
      'pages/SupplementInfo',
      'pages/MoreSelectedTagList',
      'pages/CouponDetail',
      'pages/FollowUpPlanDetail',
      'pages/SurveyPatientRegister',
      'pages/PreviewFile',
    ]
  }, {
    root: 'subpackages/log/',
    name: 'log',
    pages: [
      'pages/PainLogDetail',
      'pages/MoreSelectList',
      'pages/SearchMoreSelectList',
      'pages/CreateLogPatient',
      'pages/SelectLogPatient',
      'pages/FinishPainLog',
      'pages/PainLogList',
      'pages/ManagePlan',
      'pages/MonthlyReport',
      'pages/PlanJoinRecord',
      'pages/PlanList',
    ]
  }, {
    root: 'subpackages/feed/',
    name: 'feed',
    pages: [
      'pages/FeedDetail',
      'pages/FeedList',
      'pages/FeedTopicList',
    ]
  }, {
    root: 'subpackages/search/',
    name: 'search',
    pages: [
      'pages/index',
      'pages/SearchResult',
    ]
  }, {
    root: 'subpackages/message/',
    name: 'message',
    pages: [
      'pages/ConsultationDetail',
      'pages/DoctorAdviceDetail',
      'pages/MedicineDetail',
      'pages/SurveyDetail',
      'pages/MessageList',
      'pages/SystemMessageList',
      'pages/ChatRoomPage',
    ]
  }, {
    root: 'subpackages/order/',
    name: 'order',
    pages: [
      'pages/OrderList',
      'pages/OrderDetail',
      'pages/ServicePackOrderDetail',
      'pages/PaymentOnBehalfDetail',
      'pages/PlanOrderDetail',
      'pages/ShipmentList',
      'pages/LogisticsDetails',
      'pages/PaymentSuccess',
    ]
  }, {
    root: 'subpackages/comment/',
    name: 'comment',
    pages: [
      'pages/AddComment',
      'pages/CommentList',
    ]
  }, {
    root: 'subpackages/policy/',
    name: 'policy',
    pages: [
      'pages/policy',
      'pages/Risk',
      'pages/agreement',
      'pages/MedRecordAgree',
    ]
  }, {
    root: 'subpackages/profile/',
    name: 'profile',
    pages: [
      'pages/EditBaseInfo',
    ]
  }, {
    root: 'subpackages/decision/',
    name: 'decision',
    pages: [
      'pages/DecisionList',
      'pages/DecisionFlowIndex',
      'pages/DecisionFlow',
      'pages/DecisionResultPage',
      'pages/DecisionResultShare',
      'pages/MyDecisionList',
      'pages/MoreTemplates',
    ]
  }, {
    root: 'subpackages/prescription/',
    name: 'prescription',
    pages: [
      'pages/PrescriptionDetail',
      'pages/MyPrescription',
    ]
  }, {
    root: 'subpackages/openLink/',
    name: 'openLink',
    pages: [
      'pages/JumpMpPage',
      'pages/WebView'
    ]
  }, {
    root: 'subpackages/video/',
    name: 'video',
    pages: [
      'pages/VideoList',
      'pages/VideoDetail',
    ]
  }, {
    root: 'subpackages/servicePack/',
    name: 'servicePack',
    pages: [
      'pages/MyServicePack',
      'pages/ActivateService',
      'pages/ServicePackDetail',
      'pages/ActivationSteps',
      'pages/SelectDoctor',
      'pages/MyServiceRights',
      'pages/RightsCardDetail',
      'pages/CommonAdvice',
      'pages/ServicePack',
      'pages/MyVipServiceRights',
      'pages/ActivationVipSteps',
      'pages/EvaluationServicePack',
      'pages/MyOrderServicePack',
      'pages/ServicePackPayment',
    ]
  }, {
    root: 'subpackages/consultation/',
    name: 'consultation',
    pages: [
      'pages/CreateTelConsultation',
      'pages/TelConsulDetail',
      'pages/ConsulCouponList',
      'pages/InternationalConsultation',
    ]
  }, {
    root: 'subpackages/tag/',
    name: 'tag',
    pages: [
      'pages/TagDetail',
      'pages/TagDescription',
      'pages/FeaturedList'
    ]
  }, {
    root: 'subpackages/smartAssistant/',
    name: 'smartAssistant',
    pages: [
      'pages/SmartAssistant',
    ]
  }, {
    root: 'subpackages/meditation/',
    name: 'meditation',
    pages: [
      'pages/Meditation',
      'pages/MeditationDetail',
      'pages/MeditationList',
    ]
  }, {
    root: 'subpackages/address/',
    name: 'address',
    pages: [
      'pages/ShipAddressList',
      'pages/ShipAddressEdit',
    ]
  }, {
    root: 'subpackages/plan/',
    name: 'plan',
    pages: [
      'pages/PlanPayment',
      'pages/PlanReportDetail',
      'pages/PlanReportList',
    ]
  }, {
    root: 'subpackages/invite/',
    name: 'invite',
    pages: [
      'pages/InviteDetail',
    ]
  }, {
    root: 'subpackages/medRecord/',
    name: 'medRecord',
    pages: [
      'pages/MedRecord',
      'pages/MedRecordFollowUp',
      'pages/MedRecordSurvey',
    ]
  }],
  animation: false,
  requiredBackgroundModes: ['audio']
}
